﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace MeetingFinder
{
    public partial class ViewHistory : PhoneApplicationPage
    {
        public ViewHistory()
        {
            InitializeComponent();
        }

        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            var received = App.Current as App;
            
            historyProjectGroup.Text = received._historyItemSelected._groupName;
            historyMeetingTitle.Text = received._historyItemSelected._meetingName;
            historyDateTime.Text = received._historyItemSelected._meetingDateTime.ToString();
            historyLocation.Text = received._historyItemSelected._meetingLocation;
            historyDescription.Text = received._historyItemSelected._meetingDescription;
        }

    }
}